package cn.edu.svtcc.domain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import org.apache.catalina.Manager;

import java.math.BigDecimal;
import java.util.Date;

@TableName("house")
public class House {
    @TableId(type= IdType.AUTO)
    private Integer id;
    private String number;
    private String name;
    private Integer buidYear;
    private String address;
    private BigDecimal price;
    private Integer area;
    private Integer roomNum;
    private Integer toiletNum;
    private String isParking;
    private String parkingDesc;
    private Integer cityId;
    @TableField(exist = false)
    private City city;
    private Integer districtId;
    @TableField(exist = false)
    private District district;
    private String status;
    private Integer typeId;
    @TableField(exist = false)
    private Type type;
    private Integer managerId;
    @TableField(exist = false)
    private Manager manager;
    private String images;
    private String houseDesc;
    private String isCentralAir;
    private String isLift;
    private String supportingFacilities;
    private Date createTime;
    private Date updateTime;
    private String isShow;
    private String isDel;
    public Integer getId() {
        return id;
    }
    public void setId(Integer id) {
        this.id = id;
    }
    public String getNumber() {
        return number;
    }
    public void setNumber(String number) {
        this.number = number;
    }
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public Integer getBuidYear() {
        return buidYear;
    }
    public void setBuidYear(Integer buidYear) {
        this.buidYear = buidYear;
    }
    public String getAddress() {
        return address;
    }
    public void setAddress(String address) {
        this.address = address;
    }
    public BigDecimal getPrice() {
        return price;
    }
    public void setPrice(BigDecimal price) {
        this.price = price;
    }
    public Integer getArea() {
        return area;
    }
    public void setArea(Integer area) {
        this.area = area;
    }
    public Integer getRoomNum() {
        return roomNum;
    }
    public void setRoomNum(Integer roomNum) {
        this.roomNum = roomNum;
    }
    public Integer getToiletNum() {
        return toiletNum;
    }
    public void setToiletNum(Integer toiletNum) {
        this.toiletNum = toiletNum;
    }
    public String getIsParking() {
        return isParking;
    }
    public void setIsParking(String isParking) {
        this.isParking = isParking;
    }
    public String getParkingDesc() {
        return parkingDesc;
    }
    public void setParkingDesc(String parkingDesc) {
        this.parkingDesc = parkingDesc;
    }
    public Integer getCityId() {
        return cityId;
    }
    public void setCityId(Integer cityId) {
        this.cityId = cityId;
    }
    public City getCity() {
        return city;
    }
    public void setCity(City city) {
        this.city = city;
    }
    public Integer getDistrictId() {
        return districtId;
    }
    public void setDistrictId(Integer districtId) {
        this.districtId = districtId;
    }
    public District getDistrict() {
        return district;
    }
    public void setDistrict(District district) {
        this.district = district;
    }
    public String getStatus() {
        return status;
    }
    public void setStatus(String status) {
        this.status = status;
    }
    public Integer getTypeId() {
        return typeId;
    }
    public void setTypeId(Integer typeId) {
        this.typeId = typeId;
    }
    public Type getType() {
        return type;
    }
    public void setType(Type type) {
        this.type = type;
    }
    public Integer getManagerId() {
        return managerId;
    }
    public void setManagerId(Integer managerId) {
        this.managerId = managerId;
    }
    public Manager getManager() {
        return manager;
    }
    public void setManager(Manager manager) {
        this.manager = manager;
    }
    public String getImages() {
        return images;
    }
    public void setImages(String images) {
        this.images = images;
    }
    public String getHouseDesc() {
        return houseDesc;
    }
    public void setHouseDesc(String houseDesc) {
        this.houseDesc = houseDesc;
    }
    public String getIsCentralAir() {
        return isCentralAir;
    }
    public void setIsCentralAir(String isCentralAir) {
        this.isCentralAir = isCentralAir;
    }
    public String getIsLift() {
        return isLift;
    }
    public void setIsLift(String isLift) {
        this.isLift = isLift;
    }
    public String getSupportingFacilities() {
        return supportingFacilities;
    }
    public void setSupportingFacilities(String supportingFacilities) {
        this.supportingFacilities = supportingFacilities;
    }
    public Date getCreateTime() {
        return createTime;
    }
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
    public Date getUpdateTime() {
        return updateTime;
    }
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
    public String getIsShow() {
        return isShow;
    }
    public void setIsShow(String isShow) {
        this.isShow = isShow;
    }
    public String getIsDel() {
        return isDel;
    }
    public void setIsDel(String isDel) {
        this.isDel = isDel;
    }
    @Override
    public String toString() {
        return "House{" +
                "id=" + id +
                ", number='" + number + '\'' +
                ", name='" + name + '\'' +
                ", buidYear=" + buidYear +
                ", address='" + address + '\'' +
                ", price=" + price +
                ", area=" + area +
                ", roomNum=" + roomNum +
                ", toiletNum=" + toiletNum +
                ", isParking='" + isParking + '\'' +
                ", parkingDesc='" + parkingDesc + '\'' +
                ", cityId=" + cityId +
                ", city=" + city +
                ", districtId=" + districtId +
                ", district=" + district +
                ", status='" + status + '\'' +
                ", typeId=" + typeId +
                ", type=" + type +
                ", managerId=" + managerId +
                ", manager=" + manager +
                ", images='" + images + '\'' +
                ", houseDesc='" + houseDesc + '\'' +
                ", isCentralAir='" + isCentralAir + '\'' +
                ", isLift='" + isLift + '\'' +
                ", supportingFacilities='" + supportingFacilities + '\'' +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", isShow='" + isShow + '\'' +
                ", isDel='" + isDel + '\'' +
                '}';
    }
}